<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: 宝贝嘉燕
  Date: 2021/9/26
  Time: 8:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
pageContext.setAttribute("n1",101);
pageContext.setAttribute("n2",102);


String s="嘿嘿";
pageContext.setAttribute("s",s);
    List<Integer>list=new ArrayList<>();
    list.add(10);
    pageContext.setAttribute("list",list);
%>
<h1>${n1>=n2?"张三":"李四"}</h1>
<hr>
${empty s}

<hr>
${not empty s}
<hr>

${empty list } - ${not empty list}
</body>
</html>
